package com.yimingkeji.mongo.dao;

import com.yimingkeji.mongo.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @Describe:
 * @Auther: zhenlong.yang
 * @Date: 2018/12/4 13:19
 */
public interface UserRepository extends MongoRepository<User, String> {

    User findByName(String name);
}
